home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / exec / ports.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-15  |  569 b   |  30 lines

  1. #ifndef    EXEC_PORTS_H
  2. #define    EXEC_PORTS_H
  3. #ifndef    EXEC_NODES_H
  4. #include    "exec/nodes.h"
  5. #endif    !EXEC_NODES_H
  6. #ifndef    EXEC_LISTS_H
  7. #include    "exec/lists.h"
  8. #endif    !EXEC_LISTS_H
  9. #ifndef    EXEC_TASKS_H
  10. #include    "exec/tasks.h"
  11. #endif    !EXEC_TASKS_H
  12. struct    MsgPort    {
  13. struct    Node    mp_Node;
  14. UBYTE    mp_Flags;
  15. UBYTE    mp_SigBit;
  16. struct    Task    *mp_SigTask;
  17. struct    List    mp_MsgList;
  18. };
  19. #define    mp_SoftInt    mp_SigTask
  20. #define    PF_ACTION    3
  21. #define    PA_SIGNAL    0
  22. #define    PA_SOFTINT    1
  23. #define    PA_IGNORE    2
  24. struct    Message    {
  25. struct    Node    mn_Node;
  26. struct    MsgPort    *mn_ReplyPort;
  27. UWORD    mn_Length;
  28. };
  29. #endif
  30.